/**
 * Created with IntelliJ IDEA.
 * Description: JavaAPI实验三代码
 */
public class Test3 {
    public static void main(String[] args) {
        int w = Integer.parseInt(args[0]);
        int h = Integer.parseInt(args[1]);
        for (int i = 0; i < h; i++) {
            for (int j = 0; j < w; j++) {
                System.out.print("%");
            }
            System.out.println();
        }

    }
}
